package com.note.simpleshop.module.order.dao;
import com.note.simpleshop.entity.TbOrderItem;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OrderItemRepository extends JpaRepository<TbOrderItem, String> {
    /***
     *
     * 根据order查找
     * @param orderId
     * @return
     */
    public List<TbOrderItem> findByOrderId(String orderId);
}
